package com.kgc.community.service.impl;

import com.kgc.community.mapper.RoomUserMapper;
import com.kgc.community.pojo.RoomUser;
import com.kgc.community.service.RoomUserAddService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author Mr.Man
 * @Date 2020-12-07 8:53
 **/
@Service
public class RoomUserAddServiceImpl implements RoomUserAddService {
    @Resource
    RoomUserMapper roomUserMapper;

    @Override
    public Integer addRoomUser(RoomUser roomUser) {
        int i = roomUserMapper.insertSelective(roomUser);
        return i;
    }
}
